#pragma once
#include "MiddleBgs66.h"
using namespace BGS66;
namespace BGS611
{
    class CMiddleBGS611: public CMiddleBGS66
    {
    public:
        CMiddleBGS611(DWORD dwSocket, string& strIP, CBuffer* pBuf, BYTE btDeviceID, BYTE btSubDevID, WORD wVersion);
        virtual ~CMiddleBGS611();
    public:
        virtual void ProcessPacket(BYTE btCmd);

        bool SendCmd_BGS611_Aux(DWORD dwSocket, const BTSCS::CPacket_SetBgsAux611 & CsPacket);
        bool SendCmd_BGS611_AuxResp();
        bool SendCmd_BGS611_SetStep(DWORD dwSocket, const BTSCS::CPacket_SetStep611 & CsPacket);
        bool SendCmd_BGS611_SetStepResp();
        bool SendCmd_BGS611_Start(DWORD dwSocket, const BTSCS::CPacket_Start611 & CsPacket);
        bool SendCmd_BGS611_StartResp();
    };
};
